package com.zr.inquiry.total.model.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.inquiry.partner.model.pojo.Partner;
import com.zr.inquiry.spare.model.pojo.InquirySpareDetailsVo;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @ClassName InquiryUpdateVo
 * @Description TODO
 * @Author Jiakui_Ma
 * @Date 2019/11/16 6:05
 */
@Data
public class InquiryUpdateVo {


    /**
     * requestForQuotationId : 1
     * inquiryStatus : 0
     * createTime : 2019-10-09 00:18:03
     * legalPersonId : 1
     * type : 0
     * isTax : 0
     * startTime : 2019-10-10 08:00:00
     * endTime : 2019-10-12 08:00:00
     * inquiryDetailsList : [{"id":null,"spareCoding":"3645","spareName":"电脑222","measurementUnit":null,"moq":1,"inquiryQty":10,"deliveryCycle":1,"inquiryId":1,"currencyCodeName":"人民币"},{"id":null,"spareCoding":"3647","spareName":"笔记本","measurementUnit":"","moq":1,"inquiryQty":10,"deliveryCycle":1,"inquiryId":1,"currencyCodeName":"人民币"}]
     * supplierDetailsList : [{"id":1,"vendorCode":"1","vendor":"华为","vendorId":null,"inquiryId":null}]
     */

    private String requestForQuotationId;
    private Integer inquiryStatus;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date  createTime;
    private Integer legalPersonId;
    private Integer type;
    private Integer isTax;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date endTime;
    private String updateName;
    private Integer currencyCode;
    private Date updateTime;
    private List<InquirySpareDetailsVo> inquiryDetailsList;
    private List<Partner> supplierDetailsList;

}
